<?php
namespace Home\Controller;
use Think\Controller;
class BaseController extends Controller {

	public function _initialize(){

		$this->setTitle();
	}

	public function setTitle (){
		$configVal = D('Home/Config')->getVal('pc_title');
		$this->assign('title', $configVal);
	}
}